package net.itbaiyang.pattern.component.notification;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.List;

@Getter
public class SendMessageEvent extends ApplicationEvent {
    private final String userId;
    private final String message;
    private final List<String> cIds;

    public SendMessageEvent(Object source, String userId, String message,List<String> cIds) {
        super(source);
        this.userId = userId;
        this.message = message;
        this.cIds = cIds;
    }

}